#ifndef PIZZAFACTORY_H
#define PIZZAFACTORY_H

#include<iostream>
#include<cstring>
using namespace std;

#define SAFE_DELETE_PTR(ptr) { if(nullptr != ptr) {delete ptr; ptr == nullptr;}}

#include "Pizza.h"

class PizzaFactory
{
public:
    PizzaFactory();
    virtual ~PizzaFactory();
    virtual Pizza* createPizza(const std::string &type) = 0;
};

#endif // PIZZAFACTORY_H
